package com.luobo.behavior.strategy;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Service;
/**
 * 具体的策略的实现类
 */
@Service
@ColorAnnotation(type = "blue")
@ApiModel(description = "蓝色")
public class Blue implements Color {

    @ApiModelProperty("姓名")
    private String name;

    @Override
    public String make() {
        System.out.println("我是蓝色");
        return "blue";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
